package com.ezops.poc.bo;

import java.io.Serializable;
import java.util.Date;

/**
 * This class contains all possible attributes from a client file pertaining to
 * individual trade.
 * 
 * @author vgaurav
 * 
 */
public class ClientTradeModel extends DefaultBaseDynamicModel
		implements IClientModel,Serializable {

	protected String fileName;

	protected int clientId;

	protected int assetId;

	protected int clientTradeId;

	protected int ezopsId;

	protected int batchId;

	protected Date processedDate;
	
	protected TradeStatus tradeStatus;
	
	public ClientTradeModel(){
		this.processedDate = new Date();
		this.tradeStatus = TradeStatus.PENDING;
	}

	@Override
	public int getClientTradeId() {
		return clientTradeId;
	}

	@Override
	public int setClientTradeId(int clientTradeId) {
		return this.clientTradeId = clientTradeId;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.ezops.poc.bo.IClientModel#getFileName()
	 */
	@Override
	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.ezops.poc.bo.IClientModel#getClientId()
	 */
	@Override
	public int getClientId() {
		return clientId;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.ezops.poc.bo.IClientModel#setClientId(int)
	 */
	@Override
	public void setClientId(int clientId) {
		this.clientId = clientId;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.ezops.poc.bo.IClientModel#getAssetId()
	 */
	@Override
	public int getAssetId() {
		return assetId;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.ezops.poc.bo.IClientModel#setAssetId(int)
	 */
	@Override
	public void setAssetId(int assetId) {
		this.assetId = assetId;
	}

	@Override
	public void setProcessedDate(Date date) {
		this.processedDate = date;

	}

	@Override
	public String getAction() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getEzopsId() {
		return ezopsId;
	}

	@Override
	public void setEzopsId(int ezopsId) {
		this.ezopsId = ezopsId;
	}

	@Override
	public int getBatchId() {
		return batchId;
	}

	@Override
	public void setBatchId(int batchId) {
		this.batchId = batchId;
	}

	@Override
	public Date getProcessedDate() {
		return processedDate;
	}

	public TradeStatus getTradeStatus() {
		return tradeStatus;
	}

	public void setTradeStatus(TradeStatus tradeStatus) {
		this.tradeStatus = tradeStatus;
	}

}
